<!DOCTYPE html>
<html class="no-js css-menubar" lang="zh-cn">

<head>
	<title>后台首页</title>

	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<!-- 移动设备 viewport -->
	<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui">
	<meta name="author" content="admui.com">
	<!-- 360浏览器默认使用Webkit内核 -->
	<meta name="renderer" content="webkit">
	<!-- 禁止搜索引擎抓取 -->
	<meta name="robots" content="nofollow">
	<!-- 禁止百度SiteAPP转码 -->
	<meta http-equiv="Cache-Control" content="no-siteapp">

	<link rel="stylesheet" href="public/themes/classic/global/css/bootstrap.css">
	<link rel="stylesheet" href="public/themes/classic/base/css/site.css" id="siteStyle">
	<!-- 图标 CSS-->
	<link rel="stylesheet" href="public/fonts/font-awesome/font-awesome.css">
	<link rel="stylesheet" href="public/fonts/web-icons/web-icons.css">
	<link rel="stylesheet" href="css/home.css">
	<style>
		.input{
			width: 150px;
		}
	</style>
</head>

<body>
	<div class="page animation-fade page-index" id="app">
		<template>
		<div class="page-content container-fluid">
			<div class="media account-info">
				<div class="media-body">
					<h4 class="media-heading">
						欢迎您，{{userName}}
					</h4>
				</div>
			</div>
			<div class="col-lg-12 col-sm-12">
				<div class="row text-center margin-top-50">
					<button type="button" class="btn btn-primary btn-lg" @click="openDraw">前往抽签</button>
				</div>
			</div>
		</div>
		</template>
	</div>

	<script src="public/vendor/jquery/jquery.min.js"></script>
	<script src="public/vendor/vue/vue.min.js"></script>
	<script src="js/common.js"></script>
	<script src="public/vendor/layer/layer.js"></script>
	<script src="public/vendor/bootstrap/bootstrap.min.js"></script>
	<script src="public/themes/classic/base/js/app.js"></script>
	<!--laydate日期-->
	<script src="public/vendor/laydate/laydate.js"></script>
	<script>


		var vm = new Vue({
			el: '#app',
			data: {
				userName: '-'
			},
			methods: {
				userInfo: function(){
					this.userName = localStorage.getItem("userName");
				},
				openDraw(){
					window.open(baseURL + "house/draw.html");
				}
			},
			mounted() {
				this.userInfo();
			}
		});
		

		
	</script>
</body>

</html>
